package com.ruoyi.report_gc.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 钢材屈服强度、抗拉强度、断后伸长率、最大力总延伸率试验检测记录详情业务对象 report_gc_gcqfqdklqddhsclzdlzysljlb_bs_detail
 *
 * @author llb
 * @date 2024-06-21
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class GcqfqdklqddhsclzdlzysljlbBsDetailBo extends BaseEntity {

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 主表id
     */
    @NotNull(message = "主表id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long excelId;

    /**
     * 公称直径(mm)
     */
    @NotNull(message = "公称直径(mm)不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal gongczj;

    /**
     * 公称截面积(mm²)
     */
    @NotNull(message = "公称截面积(mm²)不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal gongcjmj;

    /**
     * 屈服荷载(kN)
     */
    @NotNull(message = "屈服荷载(kN)不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal qvfhz;

    /**
     * 屈服强度(MPa)
     */
    @NotNull(message = "屈服强度(MPa)不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal qvfqd;

    /**
     * 极限荷载(kN)
     */
    @NotNull(message = "极限荷载(kN)不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal jixhz;

    /**
     * 抗拉强度(MPa)
     */
    @NotNull(message = "抗拉强度(MPa)不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal kanglqd;

    /**
     * 原始标距(mm)
     */
    @NotNull(message = "原始标距(mm)不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal yuanszb;

    /**
     * 断后标距(mm)
     */
    @NotNull(message = "断后标距(mm)不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal duanhbj;

    /**
     * 断后伸长率(%)
     */
    @NotNull(message = "断后伸长率(%)不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal duanhscl;

    /**
     * 最大力标距(mm)
     */
    @NotNull(message = "最大力标距(mm)不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal zuidlbj;

    /**
     * 最大力断后标距(mm)
     */
    @NotNull(message = "最大力断后标距(mm)不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal zuidldhbj;

    /**
     * 最大力总延伸率(%)
     */
    @NotNull(message = "最大力总延伸率(%)不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal zuidlzysl;

    /**
     * 强屈比
     */
    @NotNull(message = "强屈比不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal qiangqb;

    /**
     * 屈屈比
     */
    @NotNull(message = "屈屈比不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal qvqb;

    /**
     * 断裂特征
     */
    @NotBlank(message = "断裂特征不能为空", groups = { AddGroup.class, EditGroup.class })
    private String daunltz;


}
